import { router } from "expo-router";
import React from "react";
import { View, Text, Button, StyleSheet } from "react-native";


// 定义导航堆栈的类型
export type RootStackParamList = {
	Home: undefined; // 表示 Home 页面不接收参数
    Login:undefined
};

const Guide = () => {
	return (
		<View style={styles.container}>
			<Text style={styles.text}>Welcome to the Guide Page!</Text>
			<Button title="Complete Guide" onPress={()=>{
				router.replace('/')
			}} />
		</View>
	);
};

const styles = StyleSheet.create({
	container: {
		flex: 1,
		justifyContent: "center",
		alignItems: "center",
		backgroundColor: "#fff",
	},
	text: {
		fontSize: 24,
		marginBottom: 20,
	},
});

export default Guide;
